#include "receiver.h"

Receiver::Receiver(QTcpSocket* connection)
{
    clientConnection = connection;
}

void Receiver::receiveData(){

    QString message(clientConnection->readAll());

    emit scheduleMessageLog("RECEIVED_FROM_" + clientConnection->peerAddress().toString() + ": " + message + "\n");

}
